package com.demo.personalaccountingbackend.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 分类查询参数
 *
 * @author zgx
 * @version 1.0
 * @date 2025/10/28 11:40
 */
@Data
@Schema(description = "分类查询参数")
public class CategoryQueryDTO {

    @Schema(description = "分类名称（模糊查询）")
    private String name;

    @Schema(description = "分类类型：0=支出，1=收入")
    private Integer type;

    @Schema(description = "父级分类ID")
    private Long parentId;

    @Schema(description = "是否包含子分类")
    private Boolean includeChildren = false;
}